package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DailyItem {
    @ApiModelProperty("")
    private String id;
    @ApiModelProperty("表头Id")
    private String headerId;
    @ApiModelProperty("账套")
    private String lessee;
    @ApiModelProperty("设备")
    private String device;
    @ApiModelProperty("现金金额")
    private BigDecimal cashAmount;
    @ApiModelProperty("银行金额")
    private BigDecimal bankAmount;
    @ApiModelProperty("欠款+支票金额")
    private BigDecimal invoiceAmount;
    @ApiModelProperty("促销特价优惠金额")
    private BigDecimal specialAmount;
    @ApiModelProperty("赠品优惠金额")
    private BigDecimal giftAmount;
    @ApiModelProperty("满减优惠金额")
    private BigDecimal discountAmount;
    @ApiModelProperty("分店（本账套）报损金额 ")
    private BigDecimal breakageAmount;
    @ApiModelProperty("G/TOTAL 小计 上面所有相加")
    private BigDecimal subTotal;
    @ApiModelProperty("reading 上方金额总计-优惠金额总计")
    private BigDecimal readingTotal;
    @ApiModelProperty("g.ttl 客户手填")
    private BigDecimal ttl;
    @ApiModelProperty("底箱金额 手填")
    private BigDecimal boxAmount;
    @ApiModelProperty("扣除底箱后金额 reading-底箱金额")
    private BigDecimal deductAmount;
    @ApiModelProperty("差额  小计-扣除底箱后金额")
    private BigDecimal difference;
    @ApiModelProperty("总计  reading相加")
    private BigDecimal totalAmount;
    @ApiModelProperty("租户id")
    private String tenantId;
    @ApiModelProperty("删除标记，0未删除，1删除")
    private String deleteFlag;
    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;
    @ApiModelProperty("")
    private Date updateTime;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("")
    private String custom1;
    @ApiModelProperty("")
    private String custom2;
    @ApiModelProperty("")
    private String custom3;
    @ApiModelProperty("")
    private String custom4;
    @ApiModelProperty("")
    private String custom5;
    @ApiModelProperty("")
    private BigDecimal custom6;
    @ApiModelProperty("")
    private BigDecimal custom7;
    @ApiModelProperty("")
    private BigDecimal custom8;
    @ApiModelProperty("")
    private BigDecimal custom9;
    @ApiModelProperty("")
    private BigDecimal custom10;
    @ApiModelProperty("")
    private Integer custom11;
    @ApiModelProperty("")
    private Integer custom12;
    @ApiModelProperty("")
    private Integer custom13;
    @ApiModelProperty("")
    private Integer custom14;
    @ApiModelProperty("")
    private Integer custom15;

    private String username;
    private String loginName;
}
